#ifndef QxWellInfoDefine_HPP
#define QxWellInfoDefine_HPP

#include <QPointF>

struct QxWellInfoDefine
{
  QxWellInfoDefine() {
    startDepth = 0;
    stopDepth  = 0;
    stepDepth  = 0;
    nullValue  = 0;
  }

  bool operator == ( const QxWellInfoDefine& define ) {
    if( define.workspaceName == this->workspaceName &&
        define.wellName      == this->wellName      &&
        define.location      == this->location      &&
        define.startDepth    == this->startDepth    &&
        define.stopDepth     == this->stopDepth     &&
        define.stepDepth     == this->stepDepth     &&
        define.nullValue     == this->nullValue ) {
      return true;
    } else {
      return false;
    }
  }

  bool operator != ( const QxWellInfoDefine& define ) {
    return !(*this == define);
  }

  QString workspaceName;
  QString wellName;
  QPointF location;

  float   startDepth;
  float   stopDepth;
  float   stepDepth;
  float   nullValue;
};

#endif // QxWellInfoDefine_HPP